//
//  YDHomeMarketView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/23.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDHomeMarketView;

@protocol SYHomeMarketViewDelegate <NSObject>

@optional

/**
 点击了某一个cell
 
 @param homeMarketView 大盘视图
 @param index 索引
 */
- (void)homeMarketView:(YDHomeMarketView *)homeMarketView didSelectItemAtIndex:(NSInteger)index;

@end

@interface YDHomeMarketView : UIView

//数据源数组
@property (nonatomic , strong) NSArray *marketModelArray;

//创始化
+(instancetype)homeMarketViewMarketModelArray:(NSArray *)marketModelArray;



@property (nonatomic , weak)id<SYHomeMarketViewDelegate>delegate;

@end
